package net.schmurgon.gwt.request;

import com.google.gwt.valuestore.shared.Record;
import org.springframework.roo.addon.gwt.RooGwtMirroredFrom;
import net.schmurgon.server.domain.Series;
import com.google.gwt.requestfactory.shared.DataTransferObject;
import com.google.gwt.valuestore.shared.Property;
import net.schmurgon.gwt.request.CourseRecord;

@RooGwtMirroredFrom(Series.class)
@DataTransferObject(Series.class)
public interface SeriesRecord extends Record {

    public String TOKEN = "SeriesRecord";

    Property<net.schmurgon.gwt.request.CourseRecord> longCourse = new com.google.gwt.valuestore.shared.Property<net.schmurgon.gwt.request.CourseRecord>("longCourse", "Long Course", net.schmurgon.gwt.request.CourseRecord.class);

    Property<java.lang.String> seriesName = new com.google.gwt.valuestore.shared.Property<java.lang.String>("seriesName", "Series Name", java.lang.String.class);

    Property<net.schmurgon.gwt.request.CourseRecord> shortCourse = new com.google.gwt.valuestore.shared.Property<net.schmurgon.gwt.request.CourseRecord>("shortCourse", "Short Course", net.schmurgon.gwt.request.CourseRecord.class);

    abstract CourseRecord getLongCourse();

    abstract String getSeriesName();

    abstract CourseRecord getShortCourse();

    abstract boolean isChanged();

    abstract void setLongCourse(CourseRecord longCourse);

    abstract void setSeriesName(String seriesName);

    abstract void setShortCourse(CourseRecord shortCourse);
}
